package com.zhkj.txg.module.mine.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse
import java.io.Serializable

data class UserCenterResponse(
    val data: UserCenterEntity? = null
) : BaseResponse()

data class UserCenterEntity(
    val userInfo: UserInfoEntity? = null,
    val isMember: Boolean = false,
    @SerializedName("share_url")
    val shareUrl: String? = null,
    @SerializedName("wait_pay")
    val waitPayCount: Int = 0,
    @SerializedName("wait_send")
    val waitSendCount: Int = 0,
    @SerializedName("wait_receive")
    val waitReceiveCount: Int = 0,
    @SerializedName("coupon_count")
    val couponCount: String = ""
)

data class UserInfoEntity(
    val id: Int,
    var nickname: String? = null,
    var mobile: String = "未绑定",
    var avatar: String = "",
    var gender: String = "保密",
    var birthday: String? = null,
    var money: String = "0.0",
    var area: String = "未设置",
    @SerializedName("vip_end_date")
    var memberDate: String = "",
    var province: Int = 0,
    var city: Int = 0,
    var district: Int = 0,
    @SerializedName("user_card")
    var userCard: UserCardGradeEntity

) : Serializable

data class UserCardGradeEntity(
    var name: String = "",
    var image: String = ""
)